<?php

class BD {
    public function __construct() {
        pg_connect("host=pgsql16.kinghost.net user=cursosbinacionais password=ifsul@csl dbname=cursosbinacionais port=5432")
                or die("Erro ao conectar ao servidor");
    }
    
    public function __destruct() {
       // pg_close();
    }
}

?>
